package com.stormragetech.arthas.common.annotation;

import java.lang.annotation.*;

/**
 * description: //TODO
 *
 * @author: Xue Bin
 * @version: 1.0.0-SNAPSHOT
 */
@Target(ElementType.METHOD)
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface Mapping {

    public String url() default "/";

    public RequestType method() default RequestType.POST;

    public ResponseType response() default ResponseType.JSON;

    public String encode() default "UTF-8";

}
